Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamically get the nodeport host #4158

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

yahoon
Copy link
Contributor

@yahoon yahoon commented Mar 28, 2024

Greetings,

This is an update to the example doc of Using Kubevirt. The purpose is to dynamically get the NodePort host to replace the hardcoded hostname that is used for the VM SSH connection.

The problem we solved
By fetching the hostname dynamically, we avoid using a pre-defined host for the VM SSH connection, that will reduce the the potential failures by the connection problem with the host. In this update, the hostname for the SSH connection is fetched dynamically, which is the K8S node where the VM is running.

I get this tested in our environment with @jangel97

Thanks.

@yahoon yahoon requested a review from a team as a code owner March 28, 2024 06:18
@yahoon yahoon requested review from ssbarnea and priyamsahoo March 28, 2024 06:18
@yahoon yahoon marked this pull request as draft April 1, 2024 02:01
@yahoon yahoon force-pushed the get-nodeport-host-dynamically branch from c2e8421 to ac79fa3 Compare April 1, 2024 02:06
@yahoon yahoon marked this pull request as ready for review April 1, 2024 02:20
@yahoon
Copy link
Contributor Author

yahoon commented Apr 1, 2024

I don't have the permission to add labels to this PR. Please help add docs, enhancement to it, thanks.

BTW, @jangel97 is the original author of this guide in !3972. He tested this change with me together.

@jangel97
Copy link
Contributor

Hello,

I believe this would help streamline the experience for users trying to use ephemeral kubevirt VMs. Can someone provide feedback?

Thx!

@Qalthos Qalthos force-pushed the get-nodeport-host-dynamically branch from ac79fa3 to 22288ef Compare September 9, 2024 15:29
Copy link

sonarqubecloud bot commented Sep 9, 2024

@Qalthos Qalthos enabled auto-merge (squash) September 9, 2024 15:30
@Qalthos Qalthos merged commit 6f71543 into ansible:main Sep 9, 2024
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants